<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
                                                                							                                                                <div class="form-group">	
								<label class="col-sm-3 control-label">编号：</label>
								<div class="col-sm-8">
									<input id="number" placeholder="如HH2019070701的编号" name="number" class="form-control" type="text">
								</div>
							</div>
							 <div class="form-group">
								<label class="col-sm-3 control-label">名称：</label>
								<div class="col-sm-8">
									<input id="name" name="name" placeholder="输入真实姓名" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">性别：</label>
								<div class="col-sm-8">
									<label class="radio-inline" th:each="dict:${dictList}">
										<input  type="radio" name="sex" th:value="${dict.value}" th:text="${dict.name}"   />
									</label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">地址：</label>
								<div class="col-sm-8">
									<input id="address" name="address" placeholder="输入详细居住地址" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">电话号码：</label>
								<div class="col-sm-8">
									<input id="phone" name="phone"  placeholder="输入手机号码" class="form-control" type="text" maxlength="11" onkeyup="this.value=this.value.replace(/\D/g,'')">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">状态：</label>
								<div class="col-sm-8">
									<select id="status" name="status"  class="form-control valid" style="width: 100%" >
										<option value="0" selected="selected">正常</option>
										<option value="1" >废弃</option>
									</select>
								</div>
							</div>
							<!--<div class="form-group">
								<label class="col-sm-3 control-label">性质：</label>
								<div class="col-sm-8">
									<input id="nature" name="nature" class="form-control" type="text">
								</div>
							</div>-->

							<!--<div class="form-group">
								<label class="col-sm-3 control-label">积分：</label>
								<div class="col-sm-8">
									<input id="integral" name="integral" class="form-control" type="number">
								</div>
							</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">等级：</label>
								<div class="col-sm-8">
									<input id="grade" name="grade"  placeholder="越高越重要" class="form-control" type="number">
								</div>
							</div>

							<div class="form-group">
								<label class="col-sm-3 control-label">来源：</label>
								<div class="col-sm-8">
									<input id="source" name="source" placeholder="来源途径" class="form-control" type="text">
								</div>
							</div>
							 <div class="form-group">
								<label class="col-sm-3 control-label">描述：</label>
								<div class="col-sm-8">
									<textarea id="content" name="content" class="form-control" rows="5" placeholder="简单描述一下客户特点"></textarea>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">微信号：</label>
								<div class="col-sm-8">
									<input id="wechat" name="wechat" class="form-control" type="text" placeholder="可以联系到客户的微信号">
								</div>
							</div>
							<!--<div class="form-group">
								<label class="col-sm-3 control-label">跟踪次数：</label>
								<div class="col-sm-8">
									<input id="trackingNumber" name="trackingNumber" class="form-control" type="number" >
								</div>
							</div>-->
							<div class="form-group">
								<label class="col-sm-3 control-label">是否签约：</label>
								<div class="col-sm-8">
									<select id="signStatus" name="signStatus"  class="form-control valid" style="width: 100%" >
										<option value="0" selected="selected">未签约</option>
										<option value="1" >已签约</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
									<button type="button" class="btn closeBtn" onclick="myClose();">关闭</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="//s.xlongwei.com/res/js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="/js/appjs/hnzk/customer/add.js">
	</script>
	<script>
		function myClose(){
			var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
			parent.layer.close(index); //再执行关闭

		}

	</script>
</body>
</html>
